// 用户排名项类型
export interface RankingItem {
  id: number;
  wechatName: string;
  createUserAvatar?: string;
  avatar?: string;
  createUser?: string;
  name?: string;
  subjectCount?: number;
  count?: number;
}

// RankingBox组件props
export interface RankingBoxProps {
  isLoading?: boolean;
  currentActive?: number;
  rankingType: number; // 1 | 2
  contributionList: RankingItem[];
  onHandleRanking?: (index: number) => void;
  onHandleJump?: () => void;
}